package com.ruoyi.web.sso.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 push_device_info
 * 
 * @author ruoyi
 * @date 2022-02-25
 */
public class PushDeviceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String staffId;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 设备制造商 */
    @Excel(name = "设备制造商")
    private String manufacturer;

    /** 设备码 */
    @Excel(name = "设备码")
    private String clientId;

    /** 状态0正常1异常） */
    @Excel(name = "状态0正常1异常）")
    private String states;

    /** app唯一标识 */
    @Excel(name = "app唯一标识")
    private String appCode;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private String deleted;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setStaffId(String staffId) 
    {
        this.staffId = staffId;
    }

    public String getStaffId() 
    {
        return staffId;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setClientId(String clientId) 
    {
        this.clientId = clientId;
    }

    public String getClientId() 
    {
        return clientId;
    }
    public void setStates(String states) 
    {
        this.states = states;
    }

    public String getStates() 
    {
        return states;
    }
    public void setAppCode(String appCode) 
    {
        this.appCode = appCode;
    }

    public String getAppCode() 
    {
        return appCode;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("staffId", getStaffId())
            .append("mobile", getMobile())
            .append("name", getName())
            .append("manufacturer", getManufacturer())
            .append("clientId", getClientId())
            .append("states", getStates())
            .append("appCode", getAppCode())
            .append("type", getType())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
